package com.example.simple.mall.dao;

import com.example.simple.mall.bean.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created by IntelliJ IDEA.
 *
 * @author ouyangzhixiang
 * @date 2018/6/19
 */
public interface UserDao {
    int checkedUsername(String username);

    int checkedEmail(String email);

    User selectelogin(@Param("username") String username, @Param("password") String password);

    String rebootJingyong(String username);

    int insertUser(User user);
}
